package com.jinke.api.modules.app.request;

import lombok.Data;
import org.hibernate.validator.constraints.URL;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.math.BigDecimal;

/**
 * @projectName:
 * @title: OrderSupplementaryRequest
 * @description:
 * @see:
 * @author: hhp
 * @version: 1.0.0
 * @createTime: 2024/8/26 14:37
 */
@Data
public class OrderSupplementaryRequest {
    @NotBlank(message = "{order.no.notBlank}")
    private String orderNo;
    @Pattern(regexp = "^\\d+(\\.\\d+)?$", message = "{positiveNumber.regexp}")
    private String rate;
    private String trackingNumber;
    @URL(message = "{url.valid}")
    private String pdfUrl;
}
